<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="../../../common/bootstrap/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
        <link href="../../../common/zui/css/zui.css" rel="stylesheet" />
        <link href="../../../common/zui/lib/datagrid/zui.datagrid.min.css" rel="stylesheet" type="text/css">
        <script src="../../../common/zui/js/zui.min.js"></script>
        <script src="../../../common/zui/lib/datagrid/zui.datagrid.min.js" type="text/javascript"></script>
        <script type="text/javascript" src="../../../common/js/jQuery-3.3.1.js"></script>
        <script type="text/javascript" src="../../../common/js/jquery.sinaEmotion.js"></script>
        
       
        <link href="../../../common/css/GeRenHomePage/HomePage_ShuoShuo.css" rel="stylesheet" type="text/css">
        <link href="../../../common/css/GeRenHomePage/TaDeHomePage_GuanZu.css" rel="stylesheet" type="text/css">
        <title>TaDeHomePage_GuanZu</title>
        
        <script>
        	$(document).ready(function() {
				//左边标签选中事件
				
				$(".boda_content_main_l_box1").load("/common/showShuoshuokuang?userid="+${user1.userId})
				//$(".boda_content_main_l_box1").load("EditInfo.jsp")
				
				
				$(".GuZhuTIaoZhuan").on("click",function(){
						window.location.href="/common/showTaDeHomePage2?fleg=9&userid="+${user1.userId}+"&userid2="+${user.userId}
						
				})
				
				$(".ChaKanGengDuo").on("click",function(){
					window.location.href="/common/showTaDeHomePage2?fleg=9&userid="+${user1.userId}+"&userid2="+${user.userId}
					
				})
				$(".FenSiTIaoZhuan").on("click",function(){
						window.location.href="/common/showTaDeHomePage2?fleg=8&userid="+${user1.userId}+"&userid2="+${user.userId}
					
				})
				
				$(".GeRenweiBo").on("click",function(){
					window.location.href="/common/showTaDeHomePage2?fleg=0&userid="+${user1.userId}+"&userid2="+${user.userId}
					
				})
				$(".moerInfo").on("click",function(){
					$(".boda_content_main_l").load("/common/showTaIn?userid="+${user1.userId})
					
				})
				
			})
        </script>
        
        
    </head>
    <body>
    	
    	<div class="boda_content_main_r">
    						
    						<div class="GeRenAppBar">
    							<table class="tb_counter" cellspacing="0" cellpadding="0">
    								<tbody>
    								<tr>
    									<td class="GuZhuTIaoZhuan">
    										<strong class="W_f18">${user1.userConcernnum }</strong>
    										<span class="S_txt2">关注</span>
    									</td >
    									<td class="FenSiTIaoZhuan">
    										<strong class="W_f18">${user1.userFans }</strong>
    										<span class="S_txt2">粉丝</span>
    									</td>
    									<td class="GeRenweiBo">
    										<strong class="W_f18">${user1.userWbnum }</strong>
    										<span class="S_txt2">微博</span>
    									</td>
    								</tr>
    								</tbody>
    							</table>
    						</div>
    						
    						<div class="GeRenAppBar_Renzhen" >
								<p class=""><span>${user1.userName }</span></p>
								
    						</div>
    						<div class="GeRenAppBar_Jianjie">
    							<p class="">简介：<span> ${user1.userIntroduce }</span></p>
    						</div>
    						
    						<div class="GeRenAppBar_2_3">
    							<div><a class="moerInfo">查看更多></a></div>
    						</div>
    						
    				<!--
                    	****************************************************************************************************************************
                    -->			
    						<div class="GeRenAppBar_WeiGuanXi" >
								<h2>微关系</h2>
								
    						</div>
    						<div class="GeRenAppBar_Jianjie" >
								<p class=""><span>共同关注(9)</span></p>
    						</div>
    						<div class="GeRenAppBar_WeiGuanXi_touxiang">
    							<c:choose>
    		
    							<c:when test="${empty GongTongGuangZu}">
    								<div class="class="xiangguantouxiang" align="center"">
    									<p>还没有共同关注</p>
    								</div>
    							</c:when>
    							<c:otherwise>
    							<c:forEach items="${GongTongGuangZu}" var="wgzdr" begin="0" end="2" >
    							<div class="xiangguantouxiang" align="center">
    								<img src="http://localhost:8082/serverpath${wgzdr.userHeadpath }" height="50px" width="50px"/>
    								<div class="GeRenAppBar_WeiGuanXi_touxiang_name" ><p>${wgzdr.userName}</p></div>
    							</div>
    							</c:forEach>
    							</c:otherwise>
    							</c:choose>		
    						</div>
    						<div class="GeRenAppBar_Jianjie" >
								<p class=""><span>我关注的人也关注Ta(9)</span></p>
    						</div>
    						<div class="GeRenAppBar_WeiGuanXi_touxiang">
    						<c:choose>
    		
    						<c:when test="${empty WoGuangZu}">
    								<div class="class="xiangguantouxiang" align="center"">
    									<p>您关注的人没有关注他哦</p>
    								</div>
    						</c:when>
    						<c:otherwise>
    						<c:forEach items="${WoGuangZu}" var="wgzdr" begin="0" end="2" >
    							
    							<div class="xiangguantouxiang" align="center">
    								<img src="http://localhost:8082/serverpath${wgzdr.userHeadpath }" height="50px" width="50px"/>
    								<div class="GeRenAppBar_WeiGuanXi_touxiang_name" ><p>${wgzdr.userName}</p></div>
    							</div>
    							
    						</c:forEach>
    						</c:otherwise>
    						</c:choose>	
    						</div>
    						
    						<div class="GeRenAppBar_2_3">
    							<div><a class="ChaKanGengDuo">查看更多></a></div>
    						</div>
    						
    				<!--
                    	****************************************************************************************************************************
                    -->		<c:forEach items="${GeRenweiboList}" var="weibo" end="0" >
    						<div class="GeRenAppBar_zanlan">
    							<div><h2>赞 </h2></div>
    						</div>
    						<div class="GeRenAppBar_4_2">
    							<div class="GeRenAppBar_4_2_r">
    								<c:forEach items="${weibo.imgList }" var="img" end="0" >
    								<c:choose>
										<c:when test="${empty img.imgPath}"></c:when>
										<c:otherwise>

												<img src="http://localhost:8082/serverpath${img.imgPath}" width="92px" height="92px"/>
										
										</c:otherwise>
									</c:choose>
    								</c:forEach>
    							</div>
    							<div class="GeRenAppBar_4_2_l">
    								<div class="GeRenAppBar_4_2_l_t">
    									<a>${weibo.user.userName}</a> <img  />
    								</div>
    								<div class="GeRenAppBar_4_2_l_d">
    									<a>${weibo.topic.topicName}&nbsp; ${weibo.weiboContent}</a>
    								</div>
    							</div>
    						
    						</div>
    						<div class="GeRenAppBar_4_3">
    							<div><a>查看更多 ></a></div>
    						</div>
    						</c:forEach>
    					</div>
    		
    		
    		<!--
                ****************************************************************************************************************************
             -->				
    					<div class="boda_content_main_l">
    						
    						<div class="boda_content_main_l_AppBar">
    							<div class="boda_content_main_l_AppBar_list1"><a>全部</a></div>
    							<div class="boda_content_main_l_AppBar_list2"><img src="../../../common/img/PQ/火灰.png" /><a>热门</a></div>
    							<div class="boda_content_main_l_AppBar_list3"><a>更多</a><i class="icon icon-chevron-down"></i></div>
    							
    						</div >
    						<div class="boda_content_main_l_YingChang" align="center">
    							<div><a>原创</a></div>
    							<div><a>图片</a></div>
    							<div><a>视频</a></div>
    							<div><a>音乐</a></div>
    							<div><a>文章</a></div>
    							<div><a>标签</a></div>
    							<div><a>查看权限</a></div>
    							
    						</div >
    						<!--可以循环的部分 -->
    						<div class="boda_content_main_l_box1">
    								
    						</div>
    						
    					</div>
    					
    				</div>
    	
 	</body>
</html>